using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.Serialization;
using System.Web.Script.Serialization;
using System.Xml.Serialization;
using XCode;
using XCode.Configuration;
using XCode.DataAccessLayer;

namespace Kinlo.Entitys
{
    /// <summary>折极耳</summary>
    [Serializable]
    [DataObject]
    [Description("折极耳")]
    [BindTable("PoleEarFoldingData", Description = "折极耳", ConnName = "MySql", DbType = DatabaseType.None)]
    public partial class PoleEarFoldingData
    {
        #region 属性
        private Int64 _Id;
        /// <summary>雪花ID</summary>
        [DisplayName("雪花ID")]
        [Description("雪花ID")]
        [DataObjectField(true, false, false, 0)]
        [BindColumn("Id", "雪花ID", "")]
        public Int64 Id { get => _Id; set { if (OnPropertyChanging("Id", value)) { _Id = value; OnPropertyChanged("Id"); } } }

        private DateTime _AcquisitionTime;
        /// <summary>数据获取时间</summary>
        [DisplayName("数据获取时间")]
        [Description("数据获取时间")]
        [DataObjectField(false, false, true, 0)]
        [BindColumn("Acquisition_Time", "数据获取时间", "")]
        public DateTime AcquisitionTime { get => _AcquisitionTime; set { if (OnPropertyChanging("AcquisitionTime", value)) { _AcquisitionTime = value; OnPropertyChanged("AcquisitionTime"); } } }

        private String _Operator;
        /// <summary>工号(操作员)</summary>
        [DisplayName("工号")]
        [Description("工号(操作员)")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Operator", "工号(操作员)", "")]
        public String Operator { get => _Operator; set { if (OnPropertyChanging("Operator", value)) { _Operator = value; OnPropertyChanged("Operator"); } } }

        private String _EquipmentCode;
        /// <summary>设备编码</summary>
        [DisplayName("设备编码")]
        [Description("设备编码")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("EquipmentCode", "设备编码", "")]
        public String EquipmentCode { get => _EquipmentCode; set { if (OnPropertyChanging("EquipmentCode", value)) { _EquipmentCode = value; OnPropertyChanged("EquipmentCode"); } } }

        private String _EquipmentStatus;
        /// <summary>设备状态</summary>
        [DisplayName("设备状态")]
        [Description("设备状态")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("EquipmentStatus", "设备状态", "")]
        public String EquipmentStatus { get => _EquipmentStatus; set { if (OnPropertyChanging("EquipmentStatus", value)) { _EquipmentStatus = value; OnPropertyChanged("EquipmentStatus"); } } }

        private String _Team;
        /// <summary>班组</summary>
        [DisplayName("班组")]
        [Description("班组")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Team", "班组", "")]
        public String Team { get => _Team; set { if (OnPropertyChanging("Team", value)) { _Team = value; OnPropertyChanged("Team"); } } }

        private String _Shift;
        /// <summary>班次</summary>
        [DisplayName("班次")]
        [Description("班次")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Shift", "班次", "")]
        public String Shift { get => _Shift; set { if (OnPropertyChanging("Shift", value)) { _Shift = value; OnPropertyChanged("Shift"); } } }

        private String _WorkOrderNo;
        /// <summary>工单号</summary>
        [DisplayName("工单号")]
        [Description("工单号")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("WorkOrderNo", "工单号", "")]
        public String WorkOrderNo { get => _WorkOrderNo; set { if (OnPropertyChanging("WorkOrderNo", value)) { _WorkOrderNo = value; OnPropertyChanged("WorkOrderNo"); } } }

        private String _ProcessId;
        /// <summary>工序编码</summary>
        [DisplayName("工序编码")]
        [Description("工序编码")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("process_id", "工序编码", "")]
        public String ProcessId { get => _ProcessId; set { if (OnPropertyChanging("ProcessId", value)) { _ProcessId = value; OnPropertyChanged("ProcessId"); } } }

        private String _MaterialCode;
        /// <summary>料号</summary>
        [DisplayName("料号")]
        [Description("料号")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Material_Code", "料号", "")]
        public String MaterialCode { get => _MaterialCode; set { if (OnPropertyChanging("MaterialCode", value)) { _MaterialCode = value; OnPropertyChanged("MaterialCode"); } } }

        private String _PcNo;
        /// <summary>订单批号</summary>
        [DisplayName("订单批号")]
        [Description("订单批号")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("PC_No", "订单批号", "")]
        public String PcNo { get => _PcNo; set { if (OnPropertyChanging("PcNo", value)) { _PcNo = value; OnPropertyChanged("PcNo"); } } }

        private String _WorkorderstatusName;
        /// <summary>工单状态</summary>
        [DisplayName("工单状态")]
        [Description("工单状态")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("WorkOrderStatus_Name", "工单状态", "")]
        public String WorkorderstatusName { get => _WorkorderstatusName; set { if (OnPropertyChanging("WorkorderstatusName", value)) { _WorkorderstatusName = value; OnPropertyChanged("WorkorderstatusName"); } } }

        private String _PlanedStart;
        /// <summary>计划开始时间</summary>
        [DisplayName("计划开始时间")]
        [Description("计划开始时间")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("PlanedStart", "计划开始时间", "")]
        public String PlanedStart { get => _PlanedStart; set { if (OnPropertyChanging("PlanedStart", value)) { _PlanedStart = value; OnPropertyChanged("PlanedStart"); } } }

        private String _PlanedEndDate;
        /// <summary>计划结束时间</summary>
        [DisplayName("计划结束时间")]
        [Description("计划结束时间")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("PlanedEndDate", "计划结束时间", "")]
        public String PlanedEndDate { get => _PlanedEndDate; set { if (OnPropertyChanging("PlanedEndDate", value)) { _PlanedEndDate = value; OnPropertyChanged("PlanedEndDate"); } } }

        private String _ProductionOrderNO;
        /// <summary>订单号</summary>
        [DisplayName("订单号")]
        [Description("订单号")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("ProductionOrderNO", "订单号", "")]
        public String ProductionOrderNO { get => _ProductionOrderNO; set { if (OnPropertyChanging("ProductionOrderNO", value)) { _ProductionOrderNO = value; OnPropertyChanged("ProductionOrderNO"); } } }

        private String _PutIntoNumber;
        /// <summary>投入数</summary>
        [DisplayName("投入数")]
        [Description("投入数")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("PutIntoNumber", "投入数", "")]
        public String PutIntoNumber { get => _PutIntoNumber; set { if (OnPropertyChanging("PutIntoNumber", value)) { _PutIntoNumber = value; OnPropertyChanged("PutIntoNumber"); } } }

        private String _QualifiedNumber;
        /// <summary>合格数</summary>
        [DisplayName("合格数")]
        [Description("合格数")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("QualifiedNumber", "合格数", "")]
        public String QualifiedNumber { get => _QualifiedNumber; set { if (OnPropertyChanging("QualifiedNumber", value)) { _QualifiedNumber = value; OnPropertyChanged("QualifiedNumber"); } } }

        private String _UnqualifiedNumber;
        /// <summary>不合格数量</summary>
        [DisplayName("不合格数量")]
        [Description("不合格数量")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("UnqualifiedNumber", "不合格数量", "")]
        public String UnqualifiedNumber { get => _UnqualifiedNumber; set { if (OnPropertyChanging("UnqualifiedNumber", value)) { _UnqualifiedNumber = value; OnPropertyChanged("UnqualifiedNumber"); } } }

        private String _Ng1;
        /// <summary>内极耳1工位NG统计</summary>
        [DisplayName("内极耳1工位NG统计")]
        [Description("内极耳1工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng1", "内极耳1工位NG统计", "")]
        public String Ng1 { get => _Ng1; set { if (OnPropertyChanging("Ng1", value)) { _Ng1 = value; OnPropertyChanged("Ng1"); } } }

        private String _Ng2;
        /// <summary>内极耳2工位NG统计</summary>
        [DisplayName("内极耳2工位NG统计")]
        [Description("内极耳2工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng2", "内极耳2工位NG统计", "")]
        public String Ng2 { get => _Ng2; set { if (OnPropertyChanging("Ng2", value)) { _Ng2 = value; OnPropertyChanged("Ng2"); } } }

        private String _Ng3;
        /// <summary>内极耳3工位NG统计</summary>
        [DisplayName("内极耳3工位NG统计")]
        [Description("内极耳3工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng3", "内极耳3工位NG统计", "")]
        public String Ng3 { get => _Ng3; set { if (OnPropertyChanging("Ng3", value)) { _Ng3 = value; OnPropertyChanged("Ng3"); } } }

        private String _Ng4;
        /// <summary>内极耳4工位NG统计</summary>
        [DisplayName("内极耳4工位NG统计")]
        [Description("内极耳4工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng4", "内极耳4工位NG统计", "")]
        public String Ng4 { get => _Ng4; set { if (OnPropertyChanging("Ng4", value)) { _Ng4 = value; OnPropertyChanged("Ng4"); } } }

        private String _Ng5;
        /// <summary>内极耳5工位NG统计</summary>
        [DisplayName("内极耳5工位NG统计")]
        [Description("内极耳5工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng5", "内极耳5工位NG统计", "")]
        public String Ng5 { get => _Ng5; set { if (OnPropertyChanging("Ng5", value)) { _Ng5 = value; OnPropertyChanged("Ng5"); } } }

        private String _Ng6;
        /// <summary>内极耳6工位NG统计</summary>
        [DisplayName("内极耳6工位NG统计")]
        [Description("内极耳6工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng6", "内极耳6工位NG统计", "")]
        public String Ng6 { get => _Ng6; set { if (OnPropertyChanging("Ng6", value)) { _Ng6 = value; OnPropertyChanged("Ng6"); } } }

        private String _Ng7;
        /// <summary>内极耳7工位NG统计</summary>
        [DisplayName("内极耳7工位NG统计")]
        [Description("内极耳7工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng7", "内极耳7工位NG统计", "")]
        public String Ng7 { get => _Ng7; set { if (OnPropertyChanging("Ng7", value)) { _Ng7 = value; OnPropertyChanged("Ng7"); } } }

        private String _Ng8;
        /// <summary>内极耳8工位NG统计</summary>
        [DisplayName("内极耳8工位NG统计")]
        [Description("内极耳8工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng8", "内极耳8工位NG统计", "")]
        public String Ng8 { get => _Ng8; set { if (OnPropertyChanging("Ng8", value)) { _Ng8 = value; OnPropertyChanged("Ng8"); } } }

        private String _Ng9;
        /// <summary>内极耳9工位NG统计</summary>
        [DisplayName("内极耳9工位NG统计")]
        [Description("内极耳9工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng9", "内极耳9工位NG统计", "")]
        public String Ng9 { get => _Ng9; set { if (OnPropertyChanging("Ng9", value)) { _Ng9 = value; OnPropertyChanged("Ng9"); } } }

        private String _Ng10;
        /// <summary>内极耳10工位NG统计</summary>
        [DisplayName("内极耳10工位NG统计")]
        [Description("内极耳10工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng10", "内极耳10工位NG统计", "")]
        public String Ng10 { get => _Ng10; set { if (OnPropertyChanging("Ng10", value)) { _Ng10 = value; OnPropertyChanged("Ng10"); } } }

        private String _Ng11;
        /// <summary>内极耳11工位NG统计</summary>
        [DisplayName("内极耳11工位NG统计")]
        [Description("内极耳11工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng11", "内极耳11工位NG统计", "")]
        public String Ng11 { get => _Ng11; set { if (OnPropertyChanging("Ng11", value)) { _Ng11 = value; OnPropertyChanged("Ng11"); } } }

        private String _Ng12;
        /// <summary>内极耳12工位NG统计</summary>
        [DisplayName("内极耳12工位NG统计")]
        [Description("内极耳12工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng12", "内极耳12工位NG统计", "")]
        public String Ng12 { get => _Ng12; set { if (OnPropertyChanging("Ng12", value)) { _Ng12 = value; OnPropertyChanged("Ng12"); } } }

        private String _Ng13;
        /// <summary>内极耳13工位NG统计</summary>
        [DisplayName("内极耳13工位NG统计")]
        [Description("内极耳13工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng13", "内极耳13工位NG统计", "")]
        public String Ng13 { get => _Ng13; set { if (OnPropertyChanging("Ng13", value)) { _Ng13 = value; OnPropertyChanged("Ng13"); } } }

        private String _Ng14;
        /// <summary>内极耳14工位NG统计</summary>
        [DisplayName("内极耳14工位NG统计")]
        [Description("内极耳14工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng14", "内极耳14工位NG统计", "")]
        public String Ng14 { get => _Ng14; set { if (OnPropertyChanging("Ng14", value)) { _Ng14 = value; OnPropertyChanged("Ng14"); } } }

        private String _Ng15;
        /// <summary>内极耳15工位NG统计</summary>
        [DisplayName("内极耳15工位NG统计")]
        [Description("内极耳15工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng15", "内极耳15工位NG统计", "")]
        public String Ng15 { get => _Ng15; set { if (OnPropertyChanging("Ng15", value)) { _Ng15 = value; OnPropertyChanged("Ng15"); } } }

        private String _Ng16;
        /// <summary>内极耳16工位NG统计</summary>
        [DisplayName("内极耳16工位NG统计")]
        [Description("内极耳16工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng16", "内极耳16工位NG统计", "")]
        public String Ng16 { get => _Ng16; set { if (OnPropertyChanging("Ng16", value)) { _Ng16 = value; OnPropertyChanged("Ng16"); } } }

        private String _Ng17;
        /// <summary>外极耳1工位NG统计</summary>
        [DisplayName("外极耳1工位NG统计")]
        [Description("外极耳1工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng17", "外极耳1工位NG统计", "")]
        public String Ng17 { get => _Ng17; set { if (OnPropertyChanging("Ng17", value)) { _Ng17 = value; OnPropertyChanged("Ng17"); } } }

        private String _Ng18;
        /// <summary>外极耳2工位NG统计</summary>
        [DisplayName("外极耳2工位NG统计")]
        [Description("外极耳2工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng18", "外极耳2工位NG统计", "")]
        public String Ng18 { get => _Ng18; set { if (OnPropertyChanging("Ng18", value)) { _Ng18 = value; OnPropertyChanged("Ng18"); } } }

        private String _Ng19;
        /// <summary>外极耳3工位NG统计</summary>
        [DisplayName("外极耳3工位NG统计")]
        [Description("外极耳3工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng19", "外极耳3工位NG统计", "")]
        public String Ng19 { get => _Ng19; set { if (OnPropertyChanging("Ng19", value)) { _Ng19 = value; OnPropertyChanged("Ng19"); } } }

        private String _Ng20;
        /// <summary>外极耳4工位NG统计</summary>
        [DisplayName("外极耳4工位NG统计")]
        [Description("外极耳4工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng20", "外极耳4工位NG统计", "")]
        public String Ng20 { get => _Ng20; set { if (OnPropertyChanging("Ng20", value)) { _Ng20 = value; OnPropertyChanged("Ng20"); } } }

        private String _Ng21;
        /// <summary>外极耳5工位NG统计</summary>
        [DisplayName("外极耳5工位NG统计")]
        [Description("外极耳5工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng21", "外极耳5工位NG统计", "")]
        public String Ng21 { get => _Ng21; set { if (OnPropertyChanging("Ng21", value)) { _Ng21 = value; OnPropertyChanged("Ng21"); } } }

        private String _Ng22;
        /// <summary>外极耳6工位NG统计</summary>
        [DisplayName("外极耳6工位NG统计")]
        [Description("外极耳6工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng22", "外极耳6工位NG统计", "")]
        public String Ng22 { get => _Ng22; set { if (OnPropertyChanging("Ng22", value)) { _Ng22 = value; OnPropertyChanged("Ng22"); } } }

        private String _Ng23;
        /// <summary>外极耳7工位NG统计</summary>
        [DisplayName("外极耳7工位NG统计")]
        [Description("外极耳7工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng23", "外极耳7工位NG统计", "")]
        public String Ng23 { get => _Ng23; set { if (OnPropertyChanging("Ng23", value)) { _Ng23 = value; OnPropertyChanged("Ng23"); } } }

        private String _Ng24;
        /// <summary>外极耳8工位NG统计</summary>
        [DisplayName("外极耳8工位NG统计")]
        [Description("外极耳8工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng24", "外极耳8工位NG统计", "")]
        public String Ng24 { get => _Ng24; set { if (OnPropertyChanging("Ng24", value)) { _Ng24 = value; OnPropertyChanged("Ng24"); } } }

        private String _Ng25;
        /// <summary>外极耳9工位NG统计</summary>
        [DisplayName("外极耳9工位NG统计")]
        [Description("外极耳9工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng25", "外极耳9工位NG统计", "")]
        public String Ng25 { get => _Ng25; set { if (OnPropertyChanging("Ng25", value)) { _Ng25 = value; OnPropertyChanged("Ng25"); } } }

        private String _Ng26;
        /// <summary>外极耳10工位NG统计</summary>
        [DisplayName("外极耳10工位NG统计")]
        [Description("外极耳10工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng26", "外极耳10工位NG统计", "")]
        public String Ng26 { get => _Ng26; set { if (OnPropertyChanging("Ng26", value)) { _Ng26 = value; OnPropertyChanged("Ng26"); } } }

        private String _Ng27;
        /// <summary>外极耳11工位NG统计</summary>
        [DisplayName("外极耳11工位NG统计")]
        [Description("外极耳11工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng27", "外极耳11工位NG统计", "")]
        public String Ng27 { get => _Ng27; set { if (OnPropertyChanging("Ng27", value)) { _Ng27 = value; OnPropertyChanged("Ng27"); } } }

        private String _Ng28;
        /// <summary>外极耳12工位NG统计</summary>
        [DisplayName("外极耳12工位NG统计")]
        [Description("外极耳12工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng28", "外极耳12工位NG统计", "")]
        public String Ng28 { get => _Ng28; set { if (OnPropertyChanging("Ng28", value)) { _Ng28 = value; OnPropertyChanged("Ng28"); } } }

        private String _Ng29;
        /// <summary>外极耳13工位NG统计</summary>
        [DisplayName("外极耳13工位NG统计")]
        [Description("外极耳13工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng29", "外极耳13工位NG统计", "")]
        public String Ng29 { get => _Ng29; set { if (OnPropertyChanging("Ng29", value)) { _Ng29 = value; OnPropertyChanged("Ng29"); } } }

        private String _Ng30;
        /// <summary>外极耳14工位NG统计</summary>
        [DisplayName("外极耳14工位NG统计")]
        [Description("外极耳14工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng30", "外极耳14工位NG统计", "")]
        public String Ng30 { get => _Ng30; set { if (OnPropertyChanging("Ng30", value)) { _Ng30 = value; OnPropertyChanged("Ng30"); } } }

        private String _Ng31;
        /// <summary>外极耳15工位NG统计</summary>
        [DisplayName("外极耳15工位NG统计")]
        [Description("外极耳15工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng31", "外极耳15工位NG统计", "")]
        public String Ng31 { get => _Ng31; set { if (OnPropertyChanging("Ng31", value)) { _Ng31 = value; OnPropertyChanged("Ng31"); } } }

        private String _Ng32;
        /// <summary>外极耳16工位NG统计</summary>
        [DisplayName("外极耳16工位NG统计")]
        [Description("外极耳16工位NG统计")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng32", "外极耳16工位NG统计", "")]
        public String Ng32 { get => _Ng32; set { if (OnPropertyChanging("Ng32", value)) { _Ng32 = value; OnPropertyChanged("Ng32"); } } }
        #endregion

        #region 获取/设置 字段值
        /// <summary>获取/设置 字段值</summary>
        /// <param name="name">字段名</param>
        /// <returns></returns>
        public override Object this[String name]
        {
            get
            {
                switch (name)
                {
                    case "Id": return _Id;
                    case "AcquisitionTime": return _AcquisitionTime;
                    case "Operator": return _Operator;
                    case "EquipmentCode": return _EquipmentCode;
                    case "EquipmentStatus": return _EquipmentStatus;
                    case "Team": return _Team;
                    case "Shift": return _Shift;
                    case "WorkOrderNo": return _WorkOrderNo;
                    case "ProcessId": return _ProcessId;
                    case "MaterialCode": return _MaterialCode;
                    case "PcNo": return _PcNo;
                    case "WorkorderstatusName": return _WorkorderstatusName;
                    case "PlanedStart": return _PlanedStart;
                    case "PlanedEndDate": return _PlanedEndDate;
                    case "ProductionOrderNO": return _ProductionOrderNO;
                    case "PutIntoNumber": return _PutIntoNumber;
                    case "QualifiedNumber": return _QualifiedNumber;
                    case "UnqualifiedNumber": return _UnqualifiedNumber;
                    case "Ng1": return _Ng1;
                    case "Ng2": return _Ng2;
                    case "Ng3": return _Ng3;
                    case "Ng4": return _Ng4;
                    case "Ng5": return _Ng5;
                    case "Ng6": return _Ng6;
                    case "Ng7": return _Ng7;
                    case "Ng8": return _Ng8;
                    case "Ng9": return _Ng9;
                    case "Ng10": return _Ng10;
                    case "Ng11": return _Ng11;
                    case "Ng12": return _Ng12;
                    case "Ng13": return _Ng13;
                    case "Ng14": return _Ng14;
                    case "Ng15": return _Ng15;
                    case "Ng16": return _Ng16;
                    case "Ng17": return _Ng17;
                    case "Ng18": return _Ng18;
                    case "Ng19": return _Ng19;
                    case "Ng20": return _Ng20;
                    case "Ng21": return _Ng21;
                    case "Ng22": return _Ng22;
                    case "Ng23": return _Ng23;
                    case "Ng24": return _Ng24;
                    case "Ng25": return _Ng25;
                    case "Ng26": return _Ng26;
                    case "Ng27": return _Ng27;
                    case "Ng28": return _Ng28;
                    case "Ng29": return _Ng29;
                    case "Ng30": return _Ng30;
                    case "Ng31": return _Ng31;
                    case "Ng32": return _Ng32;
                    default: return base[name];
                }
            }
            set
            {
                switch (name)
                {
                    case "Id": _Id = value.ToLong(); break;
                    case "AcquisitionTime": _AcquisitionTime = value.ToDateTime(); break;
                    case "Operator": _Operator = Convert.ToString(value); break;
                    case "EquipmentCode": _EquipmentCode = Convert.ToString(value); break;
                    case "EquipmentStatus": _EquipmentStatus = Convert.ToString(value); break;
                    case "Team": _Team = Convert.ToString(value); break;
                    case "Shift": _Shift = Convert.ToString(value); break;
                    case "WorkOrderNo": _WorkOrderNo = Convert.ToString(value); break;
                    case "ProcessId": _ProcessId = Convert.ToString(value); break;
                    case "MaterialCode": _MaterialCode = Convert.ToString(value); break;
                    case "PcNo": _PcNo = Convert.ToString(value); break;
                    case "WorkorderstatusName": _WorkorderstatusName = Convert.ToString(value); break;
                    case "PlanedStart": _PlanedStart = Convert.ToString(value); break;
                    case "PlanedEndDate": _PlanedEndDate = Convert.ToString(value); break;
                    case "ProductionOrderNO": _ProductionOrderNO = Convert.ToString(value); break;
                    case "PutIntoNumber": _PutIntoNumber = Convert.ToString(value); break;
                    case "QualifiedNumber": _QualifiedNumber = Convert.ToString(value); break;
                    case "UnqualifiedNumber": _UnqualifiedNumber = Convert.ToString(value); break;
                    case "Ng1": _Ng1 = Convert.ToString(value); break;
                    case "Ng2": _Ng2 = Convert.ToString(value); break;
                    case "Ng3": _Ng3 = Convert.ToString(value); break;
                    case "Ng4": _Ng4 = Convert.ToString(value); break;
                    case "Ng5": _Ng5 = Convert.ToString(value); break;
                    case "Ng6": _Ng6 = Convert.ToString(value); break;
                    case "Ng7": _Ng7 = Convert.ToString(value); break;
                    case "Ng8": _Ng8 = Convert.ToString(value); break;
                    case "Ng9": _Ng9 = Convert.ToString(value); break;
                    case "Ng10": _Ng10 = Convert.ToString(value); break;
                    case "Ng11": _Ng11 = Convert.ToString(value); break;
                    case "Ng12": _Ng12 = Convert.ToString(value); break;
                    case "Ng13": _Ng13 = Convert.ToString(value); break;
                    case "Ng14": _Ng14 = Convert.ToString(value); break;
                    case "Ng15": _Ng15 = Convert.ToString(value); break;
                    case "Ng16": _Ng16 = Convert.ToString(value); break;
                    case "Ng17": _Ng17 = Convert.ToString(value); break;
                    case "Ng18": _Ng18 = Convert.ToString(value); break;
                    case "Ng19": _Ng19 = Convert.ToString(value); break;
                    case "Ng20": _Ng20 = Convert.ToString(value); break;
                    case "Ng21": _Ng21 = Convert.ToString(value); break;
                    case "Ng22": _Ng22 = Convert.ToString(value); break;
                    case "Ng23": _Ng23 = Convert.ToString(value); break;
                    case "Ng24": _Ng24 = Convert.ToString(value); break;
                    case "Ng25": _Ng25 = Convert.ToString(value); break;
                    case "Ng26": _Ng26 = Convert.ToString(value); break;
                    case "Ng27": _Ng27 = Convert.ToString(value); break;
                    case "Ng28": _Ng28 = Convert.ToString(value); break;
                    case "Ng29": _Ng29 = Convert.ToString(value); break;
                    case "Ng30": _Ng30 = Convert.ToString(value); break;
                    case "Ng31": _Ng31 = Convert.ToString(value); break;
                    case "Ng32": _Ng32 = Convert.ToString(value); break;
                    default: base[name] = value; break;
                }
            }
        }
        #endregion

        #region 字段名
        /// <summary>取得折极耳字段信息的快捷方式</summary>
        public partial class _
        {
            /// <summary>雪花ID</summary>
            public static readonly Field Id = FindByName("Id");

            /// <summary>数据获取时间</summary>
            public static readonly Field AcquisitionTime = FindByName("AcquisitionTime");

            /// <summary>工号(操作员)</summary>
            public static readonly Field Operator = FindByName("Operator");

            /// <summary>设备编码</summary>
            public static readonly Field EquipmentCode = FindByName("EquipmentCode");

            /// <summary>设备状态</summary>
            public static readonly Field EquipmentStatus = FindByName("EquipmentStatus");

            /// <summary>班组</summary>
            public static readonly Field Team = FindByName("Team");

            /// <summary>班次</summary>
            public static readonly Field Shift = FindByName("Shift");

            /// <summary>工单号</summary>
            public static readonly Field WorkOrderNo = FindByName("WorkOrderNo");

            /// <summary>工序编码</summary>
            public static readonly Field ProcessId = FindByName("ProcessId");

            /// <summary>料号</summary>
            public static readonly Field MaterialCode = FindByName("MaterialCode");

            /// <summary>订单批号</summary>
            public static readonly Field PcNo = FindByName("PcNo");

            /// <summary>工单状态</summary>
            public static readonly Field WorkorderstatusName = FindByName("WorkorderstatusName");

            /// <summary>计划开始时间</summary>
            public static readonly Field PlanedStart = FindByName("PlanedStart");

            /// <summary>计划结束时间</summary>
            public static readonly Field PlanedEndDate = FindByName("PlanedEndDate");

            /// <summary>订单号</summary>
            public static readonly Field ProductionOrderNO = FindByName("ProductionOrderNO");

            /// <summary>投入数</summary>
            public static readonly Field PutIntoNumber = FindByName("PutIntoNumber");

            /// <summary>合格数</summary>
            public static readonly Field QualifiedNumber = FindByName("QualifiedNumber");

            /// <summary>不合格数量</summary>
            public static readonly Field UnqualifiedNumber = FindByName("UnqualifiedNumber");

            /// <summary>内极耳1工位NG统计</summary>
            public static readonly Field Ng1 = FindByName("Ng1");

            /// <summary>内极耳2工位NG统计</summary>
            public static readonly Field Ng2 = FindByName("Ng2");

            /// <summary>内极耳3工位NG统计</summary>
            public static readonly Field Ng3 = FindByName("Ng3");

            /// <summary>内极耳4工位NG统计</summary>
            public static readonly Field Ng4 = FindByName("Ng4");

            /// <summary>内极耳5工位NG统计</summary>
            public static readonly Field Ng5 = FindByName("Ng5");

            /// <summary>内极耳6工位NG统计</summary>
            public static readonly Field Ng6 = FindByName("Ng6");

            /// <summary>内极耳7工位NG统计</summary>
            public static readonly Field Ng7 = FindByName("Ng7");

            /// <summary>内极耳8工位NG统计</summary>
            public static readonly Field Ng8 = FindByName("Ng8");

            /// <summary>内极耳9工位NG统计</summary>
            public static readonly Field Ng9 = FindByName("Ng9");

            /// <summary>内极耳10工位NG统计</summary>
            public static readonly Field Ng10 = FindByName("Ng10");

            /// <summary>内极耳11工位NG统计</summary>
            public static readonly Field Ng11 = FindByName("Ng11");

            /// <summary>内极耳12工位NG统计</summary>
            public static readonly Field Ng12 = FindByName("Ng12");

            /// <summary>内极耳13工位NG统计</summary>
            public static readonly Field Ng13 = FindByName("Ng13");

            /// <summary>内极耳14工位NG统计</summary>
            public static readonly Field Ng14 = FindByName("Ng14");

            /// <summary>内极耳15工位NG统计</summary>
            public static readonly Field Ng15 = FindByName("Ng15");

            /// <summary>内极耳16工位NG统计</summary>
            public static readonly Field Ng16 = FindByName("Ng16");

            /// <summary>外极耳1工位NG统计</summary>
            public static readonly Field Ng17 = FindByName("Ng17");

            /// <summary>外极耳2工位NG统计</summary>
            public static readonly Field Ng18 = FindByName("Ng18");

            /// <summary>外极耳3工位NG统计</summary>
            public static readonly Field Ng19 = FindByName("Ng19");

            /// <summary>外极耳4工位NG统计</summary>
            public static readonly Field Ng20 = FindByName("Ng20");

            /// <summary>外极耳5工位NG统计</summary>
            public static readonly Field Ng21 = FindByName("Ng21");

            /// <summary>外极耳6工位NG统计</summary>
            public static readonly Field Ng22 = FindByName("Ng22");

            /// <summary>外极耳7工位NG统计</summary>
            public static readonly Field Ng23 = FindByName("Ng23");

            /// <summary>外极耳8工位NG统计</summary>
            public static readonly Field Ng24 = FindByName("Ng24");

            /// <summary>外极耳9工位NG统计</summary>
            public static readonly Field Ng25 = FindByName("Ng25");

            /// <summary>外极耳10工位NG统计</summary>
            public static readonly Field Ng26 = FindByName("Ng26");

            /// <summary>外极耳11工位NG统计</summary>
            public static readonly Field Ng27 = FindByName("Ng27");

            /// <summary>外极耳12工位NG统计</summary>
            public static readonly Field Ng28 = FindByName("Ng28");

            /// <summary>外极耳13工位NG统计</summary>
            public static readonly Field Ng29 = FindByName("Ng29");

            /// <summary>外极耳14工位NG统计</summary>
            public static readonly Field Ng30 = FindByName("Ng30");

            /// <summary>外极耳15工位NG统计</summary>
            public static readonly Field Ng31 = FindByName("Ng31");

            /// <summary>外极耳16工位NG统计</summary>
            public static readonly Field Ng32 = FindByName("Ng32");

            static Field FindByName(String name) => Meta.Table.FindByName(name);
        }

        /// <summary>取得折极耳字段名称的快捷方式</summary>
        public partial class __
        {
            /// <summary>雪花ID</summary>
            public const String Id = "Id";

            /// <summary>数据获取时间</summary>
            public const String AcquisitionTime = "AcquisitionTime";

            /// <summary>工号(操作员)</summary>
            public const String Operator = "Operator";

            /// <summary>设备编码</summary>
            public const String EquipmentCode = "EquipmentCode";

            /// <summary>设备状态</summary>
            public const String EquipmentStatus = "EquipmentStatus";

            /// <summary>班组</summary>
            public const String Team = "Team";

            /// <summary>班次</summary>
            public const String Shift = "Shift";

            /// <summary>工单号</summary>
            public const String WorkOrderNo = "WorkOrderNo";

            /// <summary>工序编码</summary>
            public const String ProcessId = "ProcessId";

            /// <summary>料号</summary>
            public const String MaterialCode = "MaterialCode";

            /// <summary>订单批号</summary>
            public const String PcNo = "PcNo";

            /// <summary>工单状态</summary>
            public const String WorkorderstatusName = "WorkorderstatusName";

            /// <summary>计划开始时间</summary>
            public const String PlanedStart = "PlanedStart";

            /// <summary>计划结束时间</summary>
            public const String PlanedEndDate = "PlanedEndDate";

            /// <summary>订单号</summary>
            public const String ProductionOrderNO = "ProductionOrderNO";

            /// <summary>投入数</summary>
            public const String PutIntoNumber = "PutIntoNumber";

            /// <summary>合格数</summary>
            public const String QualifiedNumber = "QualifiedNumber";

            /// <summary>不合格数量</summary>
            public const String UnqualifiedNumber = "UnqualifiedNumber";

            /// <summary>内极耳1工位NG统计</summary>
            public const String Ng1 = "Ng1";

            /// <summary>内极耳2工位NG统计</summary>
            public const String Ng2 = "Ng2";

            /// <summary>内极耳3工位NG统计</summary>
            public const String Ng3 = "Ng3";

            /// <summary>内极耳4工位NG统计</summary>
            public const String Ng4 = "Ng4";

            /// <summary>内极耳5工位NG统计</summary>
            public const String Ng5 = "Ng5";

            /// <summary>内极耳6工位NG统计</summary>
            public const String Ng6 = "Ng6";

            /// <summary>内极耳7工位NG统计</summary>
            public const String Ng7 = "Ng7";

            /// <summary>内极耳8工位NG统计</summary>
            public const String Ng8 = "Ng8";

            /// <summary>内极耳9工位NG统计</summary>
            public const String Ng9 = "Ng9";

            /// <summary>内极耳10工位NG统计</summary>
            public const String Ng10 = "Ng10";

            /// <summary>内极耳11工位NG统计</summary>
            public const String Ng11 = "Ng11";

            /// <summary>内极耳12工位NG统计</summary>
            public const String Ng12 = "Ng12";

            /// <summary>内极耳13工位NG统计</summary>
            public const String Ng13 = "Ng13";

            /// <summary>内极耳14工位NG统计</summary>
            public const String Ng14 = "Ng14";

            /// <summary>内极耳15工位NG统计</summary>
            public const String Ng15 = "Ng15";

            /// <summary>内极耳16工位NG统计</summary>
            public const String Ng16 = "Ng16";

            /// <summary>外极耳1工位NG统计</summary>
            public const String Ng17 = "Ng17";

            /// <summary>外极耳2工位NG统计</summary>
            public const String Ng18 = "Ng18";

            /// <summary>外极耳3工位NG统计</summary>
            public const String Ng19 = "Ng19";

            /// <summary>外极耳4工位NG统计</summary>
            public const String Ng20 = "Ng20";

            /// <summary>外极耳5工位NG统计</summary>
            public const String Ng21 = "Ng21";

            /// <summary>外极耳6工位NG统计</summary>
            public const String Ng22 = "Ng22";

            /// <summary>外极耳7工位NG统计</summary>
            public const String Ng23 = "Ng23";

            /// <summary>外极耳8工位NG统计</summary>
            public const String Ng24 = "Ng24";

            /// <summary>外极耳9工位NG统计</summary>
            public const String Ng25 = "Ng25";

            /// <summary>外极耳10工位NG统计</summary>
            public const String Ng26 = "Ng26";

            /// <summary>外极耳11工位NG统计</summary>
            public const String Ng27 = "Ng27";

            /// <summary>外极耳12工位NG统计</summary>
            public const String Ng28 = "Ng28";

            /// <summary>外极耳13工位NG统计</summary>
            public const String Ng29 = "Ng29";

            /// <summary>外极耳14工位NG统计</summary>
            public const String Ng30 = "Ng30";

            /// <summary>外极耳15工位NG统计</summary>
            public const String Ng31 = "Ng31";

            /// <summary>外极耳16工位NG统计</summary>
            public const String Ng32 = "Ng32";
        }
        #endregion
    }
}